<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            overflow: hidden;
        }
        .container {
            width: 100%;
            height: 300px;
            display: flex;
            overflow-x:scroll;
            scroll-snap-type: x mandatory;
            cursor: pointer;
        }
        .container::-webkit-scrollbar {
            width: 0;
        }
        .item {
            flex-shrink: 0;
            width: 100%;
            height: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 3em;
            scroll-snap-align: center;
            scroll-snap-stop: always;
        }
        .item:nth-child(1){
            background: #63c454;
        }
        .item:nth-child(2){
            background: #f5bd50;
        }
        .item:nth-child(3){
            background: #63c363;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
    </div>
</body>
</html>